<?php
/**
 * Created by PhpStorm.
 * User: jocky
 * Date: 29/08/2017
 * Time: 14:30
 */
$time=time();
$interval=36;//12小时
header('Last-Modified: '.gmdate('r',$time));
header('Expires: '.gmdate('r',($time+$interval)));
header('Cache-Control: max-age='.$interval);
?>

<!DOCTYPE html>
<html lang="en">
<head>
    <!-- META SECTION -->
    <title>天玺智能交易系统</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
    <META HTTP-EQUIV="pragma" CONTENT="no-cache"><!-- 禁止浏览器从本地计算机的缓存中访问页面内容 -->
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"><!-- 用于指定请求和响应遵循的缓存机制 -->
    <META HTTP-EQUIV="expires" CONTENT="0"><!-- 用于设定网页的到期时间，一旦网页过期，必须到服务器上重新传输； -->
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
    <!-- END META SECTION -->

    <!-- CSS INCLUDE -->
    <link href="/plugins/pnotify/pnotify.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="/plugins/atlant/css/theme-default.css"/>
    <link rel="stylesheet" type="text/css" href="/plugins/sweetalert2/sweetalert2.min.css"/>
    <link rel="stylesheet" type="text/css" href="/css/main.css?v=<?= Yii::$app->params['version'] ?>"/>
    <!-- EOF CSS INCLUDE -->

    <link rel="stylesheet" type="text/css" href="/plugins/bootstrap-fileinput/css/fileinput.min.css"/>
</head>
<body class="page-container-boxed">
<!-- START PAGE CONTAINER -->
<div class="page-container">

    <!-- START PAGE SIDEBAR -->
    <div id="page-sidebar" class="page-sidebar">
        <!-- START X-NAVIGATION -->
        <ul class="x-navigation ">
            <li class="xn-logo">
                <a href="javascript:void(0)"></a>
                <a href="javascript:void(0)" class="x-navigation-control"></a>
            </li>
            <li class="xn-profile">
                <a href="javascript:void(0)" class="profile-mini">
                    <img src="/images/default.png"/>
                </a>
                <div class="profile">
                    <div class="profile-image">
                        <img src="/images/default.png" alt=""/>
                    </div>
                    <div class="profile-data">
                        <div class="profile-data-name">会员账号：<?= Yii::$app->user->identity->loginName;?></div>
                    </div>
                </div>
            </li>
            <li class="xn-title">导航菜单</li>
            <?php
            if (Yii::$app->user->identity->login_flag==1) {
                ?>
            <li>
                <a data-href='/money/recharge' href="javascript:void(0)" class="gam-menu" id="menu_3_2">
                    <span class="fa fa-share"></span>
                    <span class="xn-text">银联转款</span>
                </a>
            </li>
                <li>
                    <a data-href='/moneys/recharge' href="javascript:void(0)" class="gam-menu" id="menu_3_5">
                        <span class="fa fa-share"></span>
                        <span class="xn-text">在线支付</span>
                    </a>
                </li>
            <li>
                <a data-href='/money/withdraw' href="javascript:void(0)" class="gam-menu" id="menu_3_3">
                    <span class="fa fa-reply"></span>
                    <span class="xn-text">出金</span>
                </a>
            </li>
            <?php
                }?>
              <li>
                <a data-href='/user/info-real-name' href="javascript:void(0)" class="gam-menu" id="menu_3_1">
                    <span class="fa fa-user"></span>
                    <span class="xn-text">实名认证</span>
                </a>
            </li>
            <li>
                    <a data-href='/moneys/recharge' href="javascript:void(0)" class="gam-menu" id="menu_3_4">
                        <span class="fa fa-arrow-down"></span>
                        <span class="xn-text">下载专区</span>
                    </a>
            </li>
            <li>
                <a data-href='' href="javascript:void(0)" onclick="logout()">
                    <span class="fa fa-power-off"></span>
                    <span class="xn-text">安全退出</span>
                </a>
            </li>
        </ul>
        <!-- END X-NAVIGATION -->
    </div>
    <!-- END PAGE SIDEBAR -->

    <!-- PAGE CONTENT -->
    <div class="page-content">

        <!-- START X-NAVIGATION VERTICAL -->
        <ul class="x-navigation x-navigation-horizontal x-navigation-panel">
            <!-- TOGGLE NAVIGATION -->
            <li class="xn-icon-button">
                <a href="javascript:void(0)" class="x-navigation-minimize">
                    <span class="fa fa-dedent"></span>
                </a>
            </li>
            <li class="xn-icon-button pull-right last">
                <a href="javascript:void(0)"
                   data-toggle="tooltip"
                   data-placement="bottom"
                   title="安全退出"
                   data-original-title="安全退出"
                   onclick="logout()">
                    <span class="fa fa-power-off"></span>
                </a>
            </li>
        </ul>
        <!-- END X-NAVIGATION VERTICAL -->
        <?= $content; ?>
    </div>
    <!-- END PAGE CONTENT -->
</div>
<!-- END PAGE CONTAINER -->

<!--带操作按钮-->
<div class="modal fade" id="modal_pop" data-backdrop="static" data-keyboard="false">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h5 class="modal-title"><i id="modal_pop_title"></i></h5>
            </div>
            <div class="modal-body" id="modal_pop_body"></div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-info" id="modal_pop_btn">提交</button>
            </div>
        </div>
    </div>
</div>

<!--不带操作按钮-->
<div class="modal fade" id="modal_pop2" data-backdrop="static" data-keyboard="false">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h5 class="modal-title"><i id="modal_pop2_title"></i></h5>
            </div>
            <div class="modal-body" id="modal_pop2_body"></div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>

<!-- START SCRIPTS -->
<!-- START PLUGINS -->
<script type="text/javascript" src="/plugins/jquery/jquery.min.js"></script>
<script type="text/javascript" src="/plugins/jquery-ui/jquery-ui.min.js"></script>
<script type="text/javascript" src="/plugins/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/plugins/sweetalert2/sweetalert2.min.js"></script>
<script src="/plugins/pnotify/pnotify.js"></script>
<!-- END PLUGINS -->

<!-- THIS PAGE PLUGINS -->

<!-- END PAGE PLUGINS -->

<!-- START TEMPLATE -->
<script type="text/javascript" src="/plugins/atlant/js/actions.js"></script>
<script type="text/javascript" src="/plugins/atlant/js/plugins/bootstrap/bootstrap-datepicker.js"></script>
<script type="text/javascript" src="/js/recharges.js?v=1<?= Yii::$app->params['version']; ?>"></script>
<script type="text/javascript" src="/js/withdraw.js?v=1<?= Yii::$app->params['version']; ?>"></script>
<script type="text/javascript" src="/js/main.js?v=1<?= Yii::$app->params['version']; ?>"></script>
<script type="text/javascript" src="/js/recharge.js?v=1<?= Yii::$app->params['version']; ?>"></script>
<script type="text/javascript" src="/js/money.js?v=1<?= Yii::$app->params['version']; ?>"></script>
<script type="text/javascript" src="/js/user.js?v=<?= Yii::$app->params['version']; ?>"></script>
<script type="text/javascript" src="/plugins/bootstrap-fileinput/js/fileinput.min.js"></script>
<script type="text/javascript" src="/plugins/bootstrap-fileinput/themes/fa/theme.min.js"></script>
<script type="text/javascript" src="/plugins/bootstrap-fileinput/js/locales/zh.js"></script>

<!-- END TEMPLATE -->
<!-- END SCRIPTS -->
</body>
</html>




